Don't use GuiPrivate.
authorSandro Knauß <hefee@debian.org>
Fri, 3 Feb 2023 17:09:41 +0000 (18:09 +0100)
committerSandro Knauß <hefee@debian.org>
Sat, 15 Feb 2025 02:29:54 +0000 (03:29 +0100)
It is not used anymore and it was patched out before.

Forwarded: not-needed

Gbp-Pq: Name 0004-Don-t-use-GuiPrivate.patch

src/gui/CMakeLists.txt

index 014cfce4ca2fccf3468f73e4f5e682cd42195e38..ed09db54bee803f95428a7ec8ad806207063d3b5 100644 (file)
@@ -3,10 +3,6 @@ find_package(Qt${QT_MAJOR_VERSION} REQUIRED COMPONENTS Widgets Svg Qml Quick Qui
 find_package(KF6Archive REQUIRED)
 find_package(KF6GuiAddons)
 
-if (NOT TARGET Qt::GuiPrivate)
-    message(FATAL_ERROR "Could not find GuiPrivate component of Qt. It might be shipped as a separate package, please check that.")
-endif()
-
 if(CMAKE_BUILD_TYPE MATCHES Debug)
     add_definitions(-DQT_QML_DEBUG)
 endif()
@@ -552,7 +548,6 @@ target_link_libraries(nextcloudCore
   PUBLIC
   Nextcloud::sync
   Qt::Widgets
-  Qt::GuiPrivate
   Qt::Svg
   Qt::Network
   Qt::Xml